package oop.day03.HomeWork;
import oop.day04.StaticFinalDemo;


public class Animal
{
    public static void main(String[] args)
    {
        System.out.println(StaticFinalDemo.FI);
    }
    String name;
    int age;
    String color;

    Animal(String name, int age, String color)
    {
        this.name = name;
        this.color = color;
        this.age = age;
    }
    void drink()
    {
        System.out.println(" there is a animal  named " + name + " colored " + color + "  , " + age + "years old  eating " );
    }

    void eat()
    {
        System.out.println(" there is a animal  named " + name + " colored " + color + "  , " + age + "years old  eating " );
    }


}
